package org.jsrml.core.supplier.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class VendorStatus {

	/**
	 *是否关闭，0：启用，1：停用
	 */
	@Column(name = "IS_CLOSE", length = 4)
	private Integer isClose;
	
	/**
	 *停用人
	 */
	@Column(name = "CLOSED_BY", length = 32)
	private String closedBy;
	/**
	 *停用时间
	 */
	@Column(name = "CLOSED_DATE", columnDefinition=M.DATE_COLUMN)
	private Date closedDate;	
	
	/**
	 *准入状态，0：准入，1：不准入 （新供方准入资质、合格供方评审）
	 */
	@Column(name = "IS_ACESS", length = 4)
	private Integer isAcess;
	
	/**
	 *供方级别，0；特级，1：1级，2：2级，3：3级
	 */
	@Column(name = "LEVEL", length = 4)
	private Integer level;
	
	/**
	 *来源单号（准入单号&评审单号）（最近数据）
	 */
	@Column(name = "ACESS_CODE", length = 32)
	private String acessCode;
	
	/**
	 *准入人（最近数据）
	 */
	@Column(name = "ACESS_BY", length = 32)
	private String acessBy;
	
	/**
	 *准入时间（最近数据）
	 */
	@Column(name = "ACESS_DATE", columnDefinition=M.DATE_COLUMN)
	private Date acessDate;

	public Integer getIsClose() {
		return isClose;
	}

	public void setIsClose(Integer isClose) {
		this.isClose = isClose;
	}

	public String getClosedBy() {
		return closedBy;
	}

	public void setClosedBy(String closedBy) {
		this.closedBy = closedBy;
	}

	public Date getClosedDate() {
		return closedDate;
	}

	public void setClosedDate(Date closedDate) {
		this.closedDate = closedDate;
	}

	public Integer getIsAcess() {
		return isAcess;
	}

	public void setIsAcess(Integer isAcess) {
		this.isAcess = isAcess;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getAcessCode() {
		return acessCode;
	}

	public void setAcessCode(String acessCode) {
		this.acessCode = acessCode;
	}

	public String getAcessBy() {
		return acessBy;
	}

	public void setAcessBy(String acessBy) {
		this.acessBy = acessBy;
	}

	public Date getAcessDate() {
		return acessDate;
	}

	public void setAcessDate(Date acessDate) {
		this.acessDate = acessDate;
	}	
	
}
